using StructureMap;

namespace Cooking.Web.Code
{
    public class Bootstrapper
    {
        public static void ConfigureStructureMap()
        {
            ObjectFactory.Initialize( x=>
                                          {
                                              x.AddRegistry(new DataRegistry());
                                              x.AddRegistry(new ServiceRegistry());
                                          });
        }
        
    }
}